home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gNumPlayers, gVoiceChannel, gPathToSound, fileDelimiter, gPlayerCounter
- if soundBusy(gVoiceChannel) then
- go(the frame + 1)
- else
- set gPlayerCounter to gPlayerCounter + 1
- if gPlayerCounter > gNumPlayers then
- go("Start Game")
- else
- sound playFile gVoiceChannel, gPathToSound & "rules" & fileDelimiter & "R300" & gPlayerCounter & "_" & random(2) & ".aif"
- end if
- end if
- end
-
- on keyDown
- global gVoiceChannel
- sound stop gVoiceChannel
- go("Start Game")
- end
-
- on mouseDown
- global gVoiceChannel
- sound stop gVoiceChannel
- go("Start Game")
- end
-